package com.wcar.store.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wcar.common.entity.CarWashRecord;

import com.wcar.store.vo.CalendarVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @program: four-wcar-idea
 * @description:
 * @author: 吴朝阳
 * @create: 2024-06-04 15:18
 **/
@Mapper
public interface CarWashRecordDao extends BaseMapper<CarWashRecord> {
    @Select("select * from tb_car_wash_record where user_id=#{userId}")
    List<CarWashRecord> selectByCount(Integer userId);
    List<CalendarVo> selectCarLog( Integer userId, String createDate);
}
